Quaqua 3.9.5 2007-10-21

ch.randelshofer.quaqua
Class Quaqua14PopupMenuUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PopupMenuUI
          extended by javax.swing.plaf.basic.BasicPopupMenuUI
              extended by ch.randelshofer.quaqua.Quaqua14PopupMenuUI
All Implemented Interfaces:
QuaquaMenuPainterClient

public class Quaqua14PopupMenuUI
extends javax.swing.plaf.basic.BasicPopupMenuUI
implements QuaquaMenuPainterClient

Quaqua14PopupMenuUI.

Version:
2.0.1 2007-02-15 Mouse release was not forwarded to components.
2.0 2007-02-08 Mouse release on a JPopupMenu must trigger the current menu item.
1.0 13 February 2005 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
popupMenu
 
Constructor Summary
Quaqua14PopupMenuUI()
          Creates a new instance.
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)
           
 void installDefaults()
           
protected  void installListeners()
           
 void paintBackground(java.awt.Graphics g, javax.swing.JComponent component, int menuWidth, int menuHeight)
           
protected  void uninstallListeners()
           
 
Methods inherited from class javax.swing.plaf.basic.BasicPopupMenuUI
installKeyboardActions, installUI, isPopupTrigger, uninstallDefaults, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.PopupMenuUI
getPopup
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quaqua14PopupMenuUI

public Quaqua14PopupMenuUI()
Creates a new instance.

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent x)

installDefaults

public void installDefaults()
Overrides:
installDefaults in class javax.swing.plaf.basic.BasicPopupMenuUI

installListeners

protected void installListeners()
Overrides:
installListeners in class javax.swing.plaf.basic.BasicPopupMenuUI

uninstallListeners

protected void uninstallListeners()
Overrides:
uninstallListeners in class javax.swing.plaf.basic.BasicPopupMenuUI

paintBackground

public void paintBackground(java.awt.Graphics g,
                            javax.swing.JComponent component,
                            int menuWidth,
                            int menuHeight)
Specified by:
paintBackground in interface QuaquaMenuPainterClient

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.